package com.example.demo;

import java.awt.*;

public class Background extends GameObject{

    public Background(GameFrame gameFrame){
        super(gameFrame);
    }

    @Override
    public Rectangle getRec() {
        return null;
    }

    public static final Image bg = Toolkit.getDefaultToolkit().getImage("./img/Map.jpg");

    public void paintSelf(Graphics g){
        g.drawImage(bg,0,0,null);
    }
}
